<template>
  <div class="bridge-item">
    <div class="title">
      {{ bridge.bridgeName }}
    </div>
    <div class="item">
      架梁数量: {{ bridge.totalNumberOfBeams }}片
    </div>
    <div class="item">
      生产中: {{ bridge.inProduction }}片
    </div>
    <div class="item">
      已生产数: {{ bridge.producedQuantity }}片
    </div>
    <div class="item">
      未生产数: {{ bridge.unproductedQuantity }}片
    </div>
    <div class="item">
      架梁总数: {{ bridge.totalNumberOfBeamFrames }}片
    </div>
  </div>
</template>

<script>
export default {
  name: "BridgeItem",
  props: {
    bridge: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
  data() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
.bridge-item {
  padding: 15px;
  border-bottom: 1px solid #f6f6f6;
  line-height: 1.5;
  font-size: 16px;
  font-weight: 600;
  .item {
    margin: 10px 0 0;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    width: 50%;
    color: #999;
  }
}
</style>
